package com.kfm.company.model;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class UserVO {

    private Integer id;
    private String name;

    public UserVO(User user) {
        this.id = user.getId();
        this.name = user.getName();
    }
}
